package org.zfes.snowier.zbss.xzy.biz.alert.model;
import org.zfes.snowier.core.data.IBaseModel;
public class AlertMessage extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public AlertMessage() {}
	public AlertMessage(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long deviceId;
	  private java.lang.Long subscribeId;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="预警标题长度不能大于100")
	  private java.lang.String title;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	  private java.lang.Byte handleStatus;
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="详细描述长度不能大于2,147,483,647")
	  private java.lang.String content;
 
	
	//<-------------------------------------------->
	public AlertMessage setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public AlertMessage setSubscribeId(java.lang.Long subscribeId){
	 this.subscribeId=subscribeId;
	 return this;
	}
	public java.lang.Long getSubscribeId(){
		return this.subscribeId;
	}
	public AlertMessage setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}
	public AlertMessage setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public AlertMessage setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public AlertMessage setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public AlertMessage setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public AlertMessage setHandleStatus(java.lang.Byte handleStatus){
	 this.handleStatus=handleStatus;
	 return this;
	}
	public java.lang.Byte getHandleStatus(){
		return this.handleStatus;
	}
	public AlertMessage setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}

}
